/*
 * Copyright (c) Huawei Technologies Co., Ltd. 2012-2019. All rights reserved.
 */

package org.opengauss;

import org.apache.logging.log4j.LogManager;
import org.slf4j.LoggerFactory;

/**
 * Title: the Logger class
 * <p>
 * Description:
 * <p>
 * Copyright (c) Huawei Technologies Co., Ltd. 2012-2019.
 *
 * @author z00588921
 * @version [DataStudio 1.0.0, 2021/1/28]
 * @since 2021/1/28
 */
public class Logger {
    public static org.slf4j.Logger log = LoggerFactory.getLogger("stdout");
//    public static org.apache.logging.log4j.Logger log = LogManager.getLogger("Console");
//    public static org.apache.logging.log4j.Logger log = LogManager.getLogger();
    public static void debug(String format, Object ... arg) {
        log.debug(format, arg);
    }
    public static void info(String format, Object ... arg) {
        log.info(format, arg);
    }
    public static void warn(String format, Object ... arg) {
        log.warn(format, arg);
    }
    public static void error(String format, Object ... arg) {
        log.error(format, arg);
    }
}
